Skip to content

释放OLA对象 - DestroyCOLAPlugInterFace

函数简介

释放OLA对象内存。

接口名称

DestroyCOLAPlugInterFace

DLL调用

int DestroyCOLAPlugInterFace(long ola);

参数说明

参数名类型说明
ola长整数型OLAPlug对象的指针,由 CreateCOLAPlugInterFace 接口生成。

示例

SDK 调用

cpp
#include "OLAPlugServer.h"

OLAPlugServer ola;
int ret = ola.DestroyCOLAPlugInterFace();
csharp
using OLAPlug;

var ola = new OLAPlugServer();
int ret = ola.DestroyCOLAPlugInterFace();
python
from OLAPlugServer import OLAPlugServer

ola = OLAPlugServer()
ret = ola.DestroyCOLAPlugInterFace()
java
import com.olaplug.OLAPlugServer;

OLAPlugServer ola = new OLAPlugServer();
int ret = ola.DestroyCOLAPlugInterFace();
cpp
var ola = com("OlaPlug.OlaSoft")
var ret = ola.DestroyCOLAPlugInterFace()
vbscript
Set ola = CreateObject("OlaPlug.OlaSoft")
ret = ola.DestroyCOLAPlugInterFace()
text
.局部变量 ola, OLAPlug
ola.创建 ()
ret = ola.DestroyCOLAPlugInterFace()
aardio
import OLAPlugServer;
var ola = OLAPlugServer();
var ret = ola.DestroyCOLAPlugInterFace();
text
变量 ola <类型 = OLAPlugServer>
ola = 新建 OLAPlugServer
整数 ret = ola.DestroyCOLAPlugInterFace()
cpp
#include "OLAPlugServer.h"

OLAPlugServer ola;
int32_t ret = ola.DestroyCOLAPlugInterFace();

原生 DLL 调用

cpp
DestroyCOLAPlugInterFace();
csharp
DestroyCOLAPlugInterFace();
python
DestroyCOLAPlugInterFace();

返回值

1 成功,0 失败。

注意事项

  • 该接口为DLL版本专用。
  • 使用完OLA对象后务必调用此接口释放内存。